﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="Neuparts.Shipping.Entities" assembly="Neuparts.Shipping.Entities" 
                   default-lazy="false" schema="Shipping.dbo" >

  <class name="InventoryItem" table="Inventory" >

    <id name="Barcode" column="Barcode">
      <generator class="assigned" />
    </id>
    <property name="Name" column="Name" />
    <property name="Sku" column="SKU" />
    <property name="SupplierId" column="SupplierID" />
    <property name="ReceivedDate" column="Received" />

    
  </class>

</hibernate-mapping>
